/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */
package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.model.StockChangeReason;
import com.yami.shop.bean.model.StockChangeReasonLang;
import org.apache.ibatis.annotations.Param;

/**
 *
 *
 * @author lth
 * @date 2020-08-26 15:39:09
 */
public interface StockChangeReasonLangMapper extends BaseMapper<StockChangeReasonLang> {

    /**
     * 统计出入库原因数量
     * @param stockChangeReason
     * @param reason
     * @param lang
     * @return
     */
    int countReason(@Param("stockChangeReason") StockChangeReason stockChangeReason,@Param("reason") String reason, @Param("lang") Integer lang);
}
